package meterMonitor.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 监控数据更新记录表
 */
public class DataUpdPO {

    @ExcelIgnore
    private Integer recId;
    @ExcelIgnore
    private Integer devId;
    @ColumnWidth(30)
    @ExcelProperty(value = "设备", index = 0)
    private String devName;
    @ExcelIgnore
    private Integer lineId;
    @ExcelIgnore
    private Integer slotId;

    @ColumnWidth(15)
    @ExcelProperty(value = "当前值", index = 4)
    private BigDecimal dataValue;

    @ColumnWidth(20)
    @ExcelProperty(value = "单位", index = 3)
    private String dataUnit;
    @ColumnWidth(20)
    @ExcelProperty(value = "上限", index = 2)
    private BigDecimal upperLimit;
    @ColumnWidth(20)
    @ExcelProperty(value = "下限", index = 1)
    private BigDecimal lowerLimit;
    @ExcelIgnore
    private Integer isOverLimit;
    @ExcelIgnore
    private Timestamp recTime;
    @ExcelIgnore
    private String lineName;
    @ExcelIgnore
    private String slotName;

    public Integer getRecId() {
        return recId;
    }

    public void setRecId(Integer recId) {
        this.recId = recId;
    }

    public Integer getDevId() {
        return devId;
    }

    public void setDevId(Integer devId) {
        this.devId = devId;
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName;
    }

    public Integer getLineId() {
        return lineId;
    }

    public void setLineId(Integer lineId) {
        this.lineId = lineId;
    }

    public Integer getSlotId() {
        return slotId;
    }

    public void setSlotId(Integer slotId) {
        this.slotId = slotId;
    }

    public BigDecimal getDataValue() {
        return dataValue;
    }

    public void setDataValue(BigDecimal dataValue) {
        this.dataValue = dataValue;
    }

    public String getDataUnit() {
        return dataUnit;
    }

    public void setDataUnit(String dataUnit) {
        this.dataUnit = dataUnit;
    }

    public BigDecimal getUpperLimit() {
        return upperLimit;
    }

    public void setUpperLimit(BigDecimal upperLimit) {
        this.upperLimit = upperLimit;
    }

    public BigDecimal getLowerLimit() {
        return lowerLimit;
    }

    public void setLowerLimit(BigDecimal lowerLimit) {
        this.lowerLimit = lowerLimit;
    }

    public Integer getIsOverLimit() {
        return isOverLimit;
    }

    public void setIsOverLimit(Integer isOverLimit) {
        this.isOverLimit = isOverLimit;
    }

    public Timestamp getRecTime() {
        return recTime;
    }

    public void setRecTime(Timestamp recTime) {
        this.recTime = recTime;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getSlotName() {
        return slotName;
    }

    public void setSlotName(String slotName) {
        this.slotName = slotName;
    }
}
